<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/jquery-3.3.1.js"></script>
</head>
<body>
    <div>1</div>
    <div>2</div>
    <div>3</div>
    <div>4</div>
    <div>5</div>
    <div>6<span></span></div>
    <script>
        // $("div:odd").css({color:"red"});
        // $("div:even").css({color:"pink"});
        // $("div:first").css("font-size","25px");
        // $("div:last").css("font-size","30px");
        // $("div:eq(1)").css("font-size","50px");
        // $("div:not(div:eq(1))").css("color","red");
        // $("div:eq(1),div:eq(2),div:eq(3)").css("color","blue");
      let res  =   $("div:gt(1)").css("color","blue");
      console.log(res);
    </script>
</body>
</html>